package com.briup.product_my.service;

import com.briup.product_my.domain.ManagerHurdles;
import com.briup.product_my.domain.ext.ManagerFenceHouseExt;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Auther: xiongwenbin
 * @Date: 2024/8/22-08-22-上午10:37
 * @Description: com.briup.product_my.service
 */
public interface HurdlesService {
    List<Integer> queryAllMax();

    void updateEnable(String hId, String hEnable);

    void updateEnableBatch(List<ManagerHurdles> managerHurdles);

    PageInfo<ManagerFenceHouseExt> selectAllBy(Integer pageNum, Integer pageSize, String hName, Integer hMax, String fhName, String hEnable);

    ManagerHurdles saveOrUpdate(ManagerHurdles managerHurdles);

    void deleteById(String hId);


    List<ManagerFenceHouseExt> queryAllEnable();
}
